#banner {
    img {
        width: 100%;
    }
}

#shangdian {
    padding-top: 4vw;
    padding-bottom: 4vw;

    .title {
        margin: 0 auto;
        text-align: center;
        color: #969696;

        & > h1 {
            font-size: 23px;
        }

        .linebox {
            margin: 0 auto;
            width: 63%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 1vw;
            position: relative;

            & > p {
                position: absolute;
                padding: 5px 20px;
                background-color: #fff;
                z-index: 5;
            }

            .line1 {
                position: absolute;
                width: 100%;
                height: 1px;
                background-color: #e5e5e5;
            }

            .line2 {
                position: absolute;
                width: 20%;
                height: 1px;
                background-color: #c8c8c8;
            }
        }
    }

    .container {
        padding-top: 5vw;

        .flexbox {
            display: flex;
            text-align: center;
            gap: 3%;

            .item {
                width: 32%;

                .icon {
                    margin: 0 auto;
                    width: 95px;
                    height: 95px;
                    background-color: #d6ee74;
                    border-radius: 7px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                }

                .problem {
                    padding-top: 2vw;
                    font-family: OSBold;
                    font-weight: bold;
                    font-size: 18px;
                    color: #646464;
                }

                .reply {
                    margin: 0 auto;
                    padding-top: 1vw;
                    color: #969696;
                    font-size: 12px;
                    width: 80%;
                    font-weight: bold;
                }
            }
        }

        .swiper {
            margin-top: 8vw;

            .swiper-button-next {
                left: 70px;
                color: #fff;
                background-color: #969696;
                width: 50px;
                height: 60px;
            }

            .swiper-button-prev {
                left: 20px;
                color: #fff;
                background-color: #969696;
                width: 50px;
                height: 60px;
            }

            .swiper-slide {
                display: flex;
                flex-wrap: wrap;
                padding-left: 70px;
                gap: 4%;
                justify-content: center;
                align-items: center;

                .list .box{
                    width: 170px;
                    height: 196px;
                    border: 1px solid #969696;
                    padding: 3vw 0;
                    text-align: center;

                    .line {
                        width: 60px;
                        height: 3px;
                        background-color: #969696;
                        margin: 0 auto;
                        margin-top: 2vw;
                    }
                }

                .te {
                    width: 500px;
                    height: 160px;
                    line-height: 30px;
                    position: relative;

                    .more {
                        position: absolute;
                        background-color: #d6ee74;
                        border-radius: 5px;
                        color: #fff;
                        padding: 0 10px;
                        bottom: 0;
                        right: 0;
                    }
                }

                .Layer {
                    height: 160px;
                }
            }
        }
    }
}

#product-display {
    background-color: #fafafa;
    padding-top: 4vw;
    padding-bottom: 4vw;

    .title {
        margin: 0 auto;
        text-align: center;
        color: #969696;

        & > h1 {
            font-size: 23px;
        }

        .linebox {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 1vw;
            position: relative;

            & > p {
                position: absolute;
                padding: 5px 20px;
                background-color: #fafafa;
                z-index: 5;
            }

            .line1 {
                position: absolute;
                width: 100%;
                height: 1px;
                background-color: #e5e5e5;
            }

            .line2 {
                position: absolute;
                width: 20%;
                height: 1px;
                background-color: #c8c8c8;
            }
        }
    }

    .content .PC {
        padding-top: 3vw;

        .upper {
            display: flex;
            justify-content: center;

            .text {
                width: 263px;
                color: #616e6c;
                padding: 13px;

                p {
                    font-size: 12px;
                    padding: 4px 0px;

                    &:nth-child(1) {
                        font-size: 20px;
                    }

                    &:nth-child(3) {
                        width: 77%;
                    }
                }
            }
        }

        .below {
            display: flex;
            justify-content: center;

            .left .text,
            .right .text,
            .middle .text {
                padding: 32px 0px;
                font-size: 12px;
                color: #616e6c;

                p:nth-child(1) {
                    font-size: 18px;
                }
            }

            .left {
                width: 199px;

                .text {
                    padding-top: 44px;
                    padding-bottom: 38px;
                }
            }

            .middle {
                width: 461px;

                .text {
                    width: 80%;
                    margin: 0 auto;
                    padding-bottom: 0;
                }
            }

            .right {
                width: 199px;
                text-align: right;
            }
        }
    }

    .content .Mobile {
        padding-top: 5vw;
        display: none;
        text-align: center;

        img{
            padding-top: 5vw;
        }

        .text{
            margin: 0 auto;
            margin-top: 5vw;
            width: 80%;
        }
    }
}

#news-information {
    padding-top: 4vw;
    padding-bottom: 4vw;

    .title {
        margin: 0 auto;
        text-align: center;
        color: #969696;

        & > h1 {
            font-size: 23px;
        }

        .linebox {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: 1vw;
            position: relative;

            & > p {
                position: absolute;
                padding: 5px 20px;
                background-color: #fff;
                z-index: 5;
            }

            .line1 {
                position: absolute;
                width: 100%;
                height: 1px;
                background-color: #e5e5e5;
            }

            .line2 {
                position: absolute;
                width: 20%;
                height: 1px;
                background-color: #c8c8c8;
            }
        }
    }

    .content {
        padding-top: 3vw;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;

        .left {
            margin-right: auto;
        }

        .item {
            padding: 5px 10px;
            margin-top: 1vw;
            width: 45%;
            display: flex;
            align-items: center;

            .date {
                padding: 5px 10px;
                border-right: 1px solid #e5e5e5;

                & > p:nth-child(1) {
                    font-size: 24px;
                    color: #222;
                }

                & > p:nth-child(2) {
                    font-size: 18px;
                    color: #969696;
                }
            }

            .news {
                padding: 5px 10px;

                & > p:nth-child(1) {
                    font-size: 18px;
                    color: #646464;
                }

                & > p:nth-child(2) {
                    padding-top: 10px;
                    font-size: 16px;
                    color: #848484;
                }
            }

            &:hover {
                background-color: #d6ee74;

                .date p,
                .news p {
                    color: #fff;
                }
            }
        }
    }
}

@media screen and (max-width: 1280px) {
    .navbar {
        min-height: 70px;
    }

    #shangdian .container{
        .swiper {
            .swiper-slide {
                padding-left: 0px;
                flex-wrap: wrap;
                .list {
                    margin-top: 2vw;
                    width: 80%;
                    .box{
                        width: 50%;
                        margin: 0 auto;
                        height: auto;
                        border-radius: 10px;
                    }
                }

                .te {
                    margin-top: 2vw;
                    width: 400px;
                }

                img{
                    margin-top: 2vw;
                }
            }

            .swiper-button-next {
                opacity: 0.4;
                left: unset;
            }

            .swiper-button-prev {
                opacity: 0.4;
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    #product-display .content {
        .PC {
            display: none;
        }

        .Mobile {
            display: block;
        }
    }

    #news-information .content {
        display: block;

        .item {
            width: 90%;
            margin: 0 auto;
        }
    }
}

@media screen and (max-width: 768px) {
    #shangdian {
        .title {
            h1 {
                font-size: 5vw;
            }

            .linebox {
                flex-direction: column;

                p {
                    font-size: 3vw;
                    margin-right: 0;
                    margin-bottom: 1vw;
                }

                .line1,
                .line2 {
                    width: 20vw;
                }

                .line2 {
                    margin-left: 0;
                }
            }
        }

        .container {
            .flexbox {
                flex-direction: column;

                .item {
                    width: 100%;
                    margin-bottom: 5vw;

                    .icon {
                        margin-bottom: 3vw;

                        img {
                            max-width: 50px;
                        }
                    }

                    .problem {
                        font-size: 4vw;
                        margin-bottom: 2vw;
                    }

                    .reply {
                        font-size: 3vw;
                    }
                }
            }

            .swiper {
                margin-top: 5vw;

                .swiper-slide {
                    padding-left: 0;
                    flex-wrap: wrap;

                    .list {
                        margin-top: 2vw;
                        width: 100%;

                        .box {
                            width: 100%;
                            margin: 0 auto;
                            height: auto;
                            border-radius: 10px;
                        }
                    }

                    .te {
                        margin-top: 2vw;
                        width: 100%;
                        padding: 0 5vw;
                    }

                    img {
                        margin-top: 5vw;
                        width: 100%;
                    }
                }

                .swiper-button-next,
                .swiper-button-prev {
                    opacity: 0.4;
                    width: 30px;
                    height: 40px;
                }

                .swiper-button-next {
                    right: 10px;
                }

                .swiper-button-prev {
                    left: 10px;
                }
            }
        }
    }
}
